* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans Regular', Arial, Helvetica, sans-serif;
    padding: 0;
    scroll-behavior: smooth;
    /* background-color: #f1f1f1;
    padding: 20px; */
}

header {
    height: 4.5rem;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
}


/* navigation bar */

#navbar ul {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    /* align-items: center;  */
    overflow: hidden;
    z-index: 2;
    max-width: 1100px;
    margin: auto 20px;
}

.logo {
    /* align-self: flex-start; */
    font-size: 25px;
    margin-left: 30px;
    padding-top: 10px;
    font-weight: bolder;
}

.logo {
    /* border: 4px solid navajowhite; */
    /* background: linear-gradient(30deg, thistle, #ffbb); */
    /* border-radius: 8px; */
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    letter-spacing: .3em;
    /* line-height: 1.2em; */
    overflow: auto;
}

.logo:hover {
    /* box-shadow: 5px 5px 3px #ffbb;
    transform: scale(0.6); */
    transition: all 1s ease-in-out;
}

nav .logo:hover {
    color: midnightblue;
    border: 8px solid khaki;
    background: khaki;
    border-radius: 3px;
    opacity: 1;
    z-index: 100;
}

nav ul li {
    list-style-type: none;
}

nav li a {
    text-decoration: none;
    color: #fff;
    line-height: 1.4;
    font-size: 25px;
    font-weight: bolder;
    display: block;
    padding: 20px;
    overflow: auto;
}

nav ul li a:hover {
    color: midnightblue;
    background: khaki;
    opacity: 1;
    transition: all 1s ease-in-out;
}


/* moments */


/* Center website */

.main {
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: 50px;
    word-break: break-all;
}

.row {
    margin: 8px -16px;
}


/* Add padding BETWEEN each column (if you want) */

.row,
.row>.column {
    padding: 8px;
}


/* Create four equal columns that floats next to each other */

.column {
    float: left;
    width: 25%;
}


/* Clear floats after rows */

.row:after {
    content: "";
    display: table;
    clear: both;
}


/* Content */

.content {
    background-color: white;
    padding: 10px;
}


/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}


/* .testimonial,
.moment {
    text-align: center!important;
    color: #fff;
    padding: 12px;
    font-size: 2rem;
    margin-bottom: 20px;
}



#moment {
    background: black;
    z-index: -1;
    display: none;
}

#moment .moment_image {
    width: 20rem;
    height: 20rem;
}

#moment div {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    grid-gap: 2rem;
}

.box1 {
    grid-column: 2;
    grid-row: 2/4;
} */


/* footer */

footer {
    background-color: black;
}

footer .sub-container {
    width: 80%;
    margin: auto;
    text-align: center;
}

footer .sub-container h2,
footer .sub-container h3 {
    text-align: center;
    color: #fff;
    line-height: 1.2rem;
    text-transform: uppercase;
    font-weight: bolder;
    max-width: 300px;
    margin: auto;
    transition: all 3s ease-in;
    padding: 12px;
    font-size: 2rem;
    margin-bottom: 20px;
}


/* footer */

footer {
    background-color: black;
    display: none;
}

footer .sub-container {
    width: 80%;
    margin: auto;
    text-align: center;
}

footer .sub-container h2,
footer .sub-container h3 {
    text-align: center;
    color: #fff;
    line-height: 1.2rem;
    text-transform: uppercase;
    font-weight: bolder;
    max-width: 300px;
    margin: auto;
    transition: all 3s ease-in;
    padding: 12px;
    font-size: 2rem;
    margin-bottom: 20px;
}

.sub-container h3 {
    font-weight: bold;
    text-transform: capitalize;
    border: 2px solid #fff;
    width: 300px;
    font-size: 10px;
    /* margin: 0 auto; */
    background-color: var(--primary-color);
    transform: skew(-10deg);
    text-align: center!important;
    color: #fff;
    padding: 30px;
    font-size: 1.2rem;
    /* margin-bottom: 20px;
    }
    /* .sub-container form {
    width: 70%;
    margin-right: auto;
} */
}

form input,
textarea {
    padding: 10px;
    font-family: Verdana, Tahoma, "raleway thin", sans-serif;
    border: 2px solid var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    width: 300px;
    margin-bottom: 10px;
    background-color: black;
    border-right-style: hidden;
    border-top-style: hidden;
    border-left-style: hidden;
}

form {
    margin-top: 10px;
}

input:focus,
textarea:focus {
    outline: none;
    background: black;
    border-color: var(--primary-color);
}

.submit {
    cursor: pointer;
    color: #fff!important;
    border-radius: 10px;
    font-size: 18px;
    width: 40%;
    margin: 10px 0;
    /* height: 50px; */
    padding: 10px;
    font-weight: bold;
    background: var(--primary-color);
    box-shadow: -3px 5px 2px var(--secondary-color);
}

.submit:hover {
    color: black !important;
    transform: scale(1);
}

footer .contact ul {
    width: 250px;
    margin: auto;
}

footer .contact ul li {
    display: inline;
    list-style-type: none;
    text-align: center;
}

.contact ul li img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 14px;
}

.contact ul li img:hover {
    transform: scale(1.7);
}

footer p {
    text-align: center;
    line-height: 1.4em;
    font-weight: bold;
    font-family: "raleway thin";
    color: var(--secondary-color);
}

.newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    margin: 30px;
}

#news {
    display: flex;
}

form .submit-btn {
    margin: 15px;
    width: 130px;
    background: var(--primary-color);
    text-align: center!important;
    border: var(--secondary-color) solid 2px;
    padding: 8px 1.6rem;
    font-weight: 700px;
    display: inline;
    color: white;
    box-shadow: -2px 2px 2px var(--secondary-color);
    transition: all 1s ease-in-out;
}

form .submit-btn:hover {
    transform: scale(1);
    color: var(--secondary-color)
}


/* media queries */

@media (max-width: 900px) {
    header {
        display: flex;
        justify-content: center;
        width: 100%;
        height: 3rem;
        align-items: center;
    }
    .logo {
        display: none;
    }
    #navbar ul {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    /* #navbar ul li {
                                align-self: center;
                                /* margin-top: 1rem; */
    nav li a {
        text-decoration: none;
        color: #fff;
        line-height: 0.8;
        font-size: 1rem;
        font-weight: bolder;
        display: block;
        padding: 10px;
        overflow: auto;
    }
    /* landing page  */
    .intro {
        height: 100vh;
    }
    .sub-intro p {
        color: #fff;
        text-align: center;
        font-size: 1rem;
        word-wrap: none;
    }
    .span {
        font-size: 0.8rem;
        font-weight: 700px;
        color: var(--secondary-color);
        margin-top: 15px;
        margin-left: 20px;
        background: var(--primary-color);
        padding: 10px 15px;
        border: var(--secondary-color) solid 1px;
        border-radius: 4px;
        text-align: center!important;
    }
    /* section */
    #about {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* max-width: 1100px; */
        /* margin: auto; */
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .image {
        /* width: 50%; */
        width: 50%;
        display: block;
    }
    .image img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
    }
    .remlad-info {
        width: 100%;
        text-align: justify;
        color: white!important;
        font-size: 1.2rem;
        padding: 1rem;
        line-height: 1.5rem;
        font-family: sans-serif;
        word-wrap: none;
        word-spacing: none;
    }
    #main-container h3,
    .testimonial,
    section h6 {
        padding: 8px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    /* my skills */
    #main-container {
        height: 3rem;
        /* */
    }
    .skills-container {
        display: flex;
        justify-content: space-evenly;
        align-items: flex-end;
    }
    .skills-container .skills i {
        height: 40%;
        flex: 1;
    }
    .skills {
        flex-basis: 70px;
        padding: 5px 10px;
    }
    /* testimonial */
    .testimonials {
        padding: 2rem;
        /* margin-top: 12px; */
    }
    .testimonial {
        margin-top: 20px;
    }
    .testimonial-container {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        align-items: baseline;
        /* flex-direction: column;
                        align-self: center; */
    }
    .testimonial-heading {
        /* position: absolute; */
        width: 300px;
        height: 400px;
        margin: 0.5rem 2rem;
        background: var(--primary-color);
        border: 1px solid var(--secondary-color);
        border-radius: 1rem;
        padding: 2rem;
        height: 200px;
    }
    .testimonial-subhead {
        border-bottom: 1px solid #fff;
        display: flex;
    }
    .testimonial-subhead h4 {
        font-size: 1rem;
    }
    .testimonial-subhead img {
        width: 20%;
        border-radius: 50%;
    }
    .test-msg {
        display: flex;
        align-content: flex-start;
        text-align: left;
        flex-basis: 15%;
        padding-bottom: 10px;
        /* position: relative; */
    }
    .test-msg blockquote cite p {
        font-size: 0.8rem;
        line-height: 1;
        text-align: center;
        text-transform: justify;
    }
    form input,
    textarea {
        border-radius: 5px;
        width: 200px;
        margin-bottom: 10px;
        background-color: var(--primary-color);
    }
    form input {
        border-right-style: hidden;
        border-left-style: hidden;
        border-top-style: hidden;
    }
    footer .sub-container h3 {
        width: 50%;
        font-size: 2rem;
        text-align: center;
    }
    footer .sub-container h3 {
        text-align: center;
        color: #fff;
        line-height: 1rem;
        text-transform: uppercase;
        font-weight: bolder;
        max-width: 200px;
        margin: auto;
        transition: none;
        padding: 12px;
        font-size: 1rem;
        margin-bottom: none;
    }
}